use draw::{Draw} ;

pub struct Button {
    pub width: u32,
    pub height: u32,
    pub label: String,
}


impl Draw for Button {
    fn draw(&self) {
        //
        println!("Draw button on ({},{}) | Label = {}", self.width, self.height, self.label);
    }
}

pub struct SelectBox {
    pub width: u32,
    pub height : u32,
    pub options: Vec<String>,
}

impl Draw for SelectBox {
    fn draw(&self) {
        println!("Draw select-box on ({},{}) | Options : {:?}", self.width, self.height, self.options);
    }
}